# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'rgb_spin_slider.ui'
##
## Created by: Qt User Interface Compiler version 6.9.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
    QMetaObject, QObject, QPoint, QRect,
    QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
    QFont, QFontDatabase, QGradient, QIcon,
    QImage, QKeySequence, QLinearGradient, QPainter,
    QPalette, QPixmap, QRadialGradient, QTransform)
from PySide6.QtWidgets import (QApplication, QHBoxLayout, QLabel, QSizePolicy,
    QSlider, QSpacerItem, QSpinBox, QVBoxLayout,
    QWidget)

class Ui_RGBSpinSlider(object):
    def setupUi(self, RGBSpinSlider):
        if not RGBSpinSlider.objectName():
            RGBSpinSlider.setObjectName(u"RGBSpinSlider")
        RGBSpinSlider.resize(400, 352)
        self.horizontalLayout = QHBoxLayout(RGBSpinSlider)
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.horizontalSpacer_3 = QSpacerItem(22, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)

        self.horizontalLayout.addItem(self.horizontalSpacer_3)

        self.verticalLayout = QVBoxLayout()
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.label = QLabel(RGBSpinSlider)
        self.label.setObjectName(u"label")
        self.label.setAlignment(Qt.AlignmentFlag.AlignCenter)

        self.verticalLayout.addWidget(self.label)

        self.spinBox = QSpinBox(RGBSpinSlider)
        self.spinBox.setObjectName(u"spinBox")
        self.spinBox.setMaximum(255)

        self.verticalLayout.addWidget(self.spinBox)

        self.verticalSlider = QSlider(RGBSpinSlider)
        self.verticalSlider.setObjectName(u"verticalSlider")
        self.verticalSlider.setMaximum(255)
        self.verticalSlider.setOrientation(Qt.Orientation.Vertical)

        self.verticalLayout.addWidget(self.verticalSlider)


        self.horizontalLayout.addLayout(self.verticalLayout)

        self.horizontalSpacer = QSpacerItem(22, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)

        self.horizontalLayout.addItem(self.horizontalSpacer)

        self.verticalLayout_2 = QVBoxLayout()
        self.verticalLayout_2.setObjectName(u"verticalLayout_2")
        self.label_2 = QLabel(RGBSpinSlider)
        self.label_2.setObjectName(u"label_2")
        self.label_2.setAlignment(Qt.AlignmentFlag.AlignCenter)

        self.verticalLayout_2.addWidget(self.label_2)

        self.spinBox_2 = QSpinBox(RGBSpinSlider)
        self.spinBox_2.setObjectName(u"spinBox_2")
        self.spinBox_2.setMaximum(255)
        self.spinBox_2.setValue(77)

        self.verticalLayout_2.addWidget(self.spinBox_2)

        self.verticalSlider_2 = QSlider(RGBSpinSlider)
        self.verticalSlider_2.setObjectName(u"verticalSlider_2")
        self.verticalSlider_2.setMaximum(255)
        self.verticalSlider_2.setValue(77)
        self.verticalSlider_2.setOrientation(Qt.Orientation.Vertical)

        self.verticalLayout_2.addWidget(self.verticalSlider_2)


        self.horizontalLayout.addLayout(self.verticalLayout_2)

        self.horizontalSpacer_2 = QSpacerItem(22, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)

        self.horizontalLayout.addItem(self.horizontalSpacer_2)

        self.verticalLayout_3 = QVBoxLayout()
        self.verticalLayout_3.setObjectName(u"verticalLayout_3")
        self.label_3 = QLabel(RGBSpinSlider)
        self.label_3.setObjectName(u"label_3")
        self.label_3.setAlignment(Qt.AlignmentFlag.AlignCenter)

        self.verticalLayout_3.addWidget(self.label_3)

        self.spinBox_3 = QSpinBox(RGBSpinSlider)
        self.spinBox_3.setObjectName(u"spinBox_3")
        self.spinBox_3.setMaximum(255)

        self.verticalLayout_3.addWidget(self.spinBox_3)

        self.verticalSlider_3 = QSlider(RGBSpinSlider)
        self.verticalSlider_3.setObjectName(u"verticalSlider_3")
        self.verticalSlider_3.setMaximum(255)
        self.verticalSlider_3.setOrientation(Qt.Orientation.Vertical)

        self.verticalLayout_3.addWidget(self.verticalSlider_3)


        self.horizontalLayout.addLayout(self.verticalLayout_3)

        self.horizontalSpacer_4 = QSpacerItem(22, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)

        self.horizontalLayout.addItem(self.horizontalSpacer_4)


        self.retranslateUi(RGBSpinSlider)
        self.spinBox.valueChanged.connect(self.verticalSlider.setValue)
        self.spinBox_2.valueChanged.connect(self.verticalSlider_2.setValue)
        self.spinBox_3.valueChanged.connect(self.verticalSlider_3.setValue)
        self.verticalSlider.valueChanged.connect(self.spinBox.setValue)
        self.verticalSlider_2.valueChanged.connect(self.spinBox_2.setValue)
        self.verticalSlider_3.valueChanged.connect(self.spinBox_3.setValue)

        QMetaObject.connectSlotsByName(RGBSpinSlider)
    # setupUi

    def retranslateUi(self, RGBSpinSlider):
        RGBSpinSlider.setWindowTitle(QCoreApplication.translate("RGBSpinSlider", u"Form", None))
        self.label.setText(QCoreApplication.translate("RGBSpinSlider", u"\u7ea2\u8272", None))
        self.label_2.setText(QCoreApplication.translate("RGBSpinSlider", u"\u7eff\u8272", None))
        self.label_3.setText(QCoreApplication.translate("RGBSpinSlider", u"\u84dd\u8272", None))
    # retranslateUi

